package com.dreammakerteam.frameworkdemo.base.service.impl;

import com.dreammakerteam.frameworkdemo.base.service.DBaseService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;

import javax.servlet.http.HttpServletRequest;

/**
 *
 * @author xy
 * @version 0.1
 */
public abstract class DBaseServiceImpl implements DBaseService {
    protected final Logger log = LoggerFactory.getLogger(getClass());


    public void getPage() {
        HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();


    }

}
